<div ng-show="error && !hidden" class="alert alert-danger">
  <button ng-click="hidden = true" type="button" class="close" aria-hidden="true">
    <span class="pficon pficon-close"></span>
  </button>
  <span class="pficon pficon-error-circle-o"></span>
  <strong>Failed to process the resource.</strong>
  <div>
    <truncate-long-text ng-if="error.message" content="error.message" limit="512" use-word-boundary="true"></truncate-long-text>
    <span ng-if="error.parsedLine">Line: {{error.parsedLine}}</span>
    <code ng-if="error.snippet">{{error.snippet}}</code>
  </div>
</div>
